package com.sdk4.jinritemai.model.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class DoudianArea {

    private int code;
    private int fatherCode;
    private String name;
    private String level;
    private List<SubDistrictsBeanXX> subDistricts;

    @NoArgsConstructor
    @Data
    public static class SubDistrictsBeanXX {
        private int code;
        private int fatherCode;
        private String name;
        private String level;
        private List<SubDistrictsBeanX> subDistricts;

        @NoArgsConstructor
        @Data
        public static class SubDistrictsBeanX {
            private int code;
            private int fatherCode;
            private String name;
            private String level;
            private List<SubDistrictsBean> subDistricts;

            @NoArgsConstructor
            @Data
            public static class SubDistrictsBean {
                private int code;
                private int fatherCode;
                private String level;
                private String name;
            }
        }
    }
}
